home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 599.swf / scripts / DefineButton2_195 / BUTTONCONDACTION on(release).as next >
Text File  |  2006-01-17  |  530b  |  36 lines

  1. on(release){
  2.    tellTarget("/sounds")
  3.    {
  4.       gotoAndStop("tic");
  5.       play();
  6.    }
  7.    if(help)
  8.    {
  9.       tellTarget("/help")
  10.       {
  11.          nextFrame();
  12.       }
  13.    }
  14.    else if(risc)
  15.    {
  16.       colr = "r";
  17.       call("verif");
  18.    }
  19.    else if(win == "0")
  20.    {
  21.       if(credit < bet)
  22.       {
  23.          status = "YOU CAN\'T FOOL ME ...";
  24.       }
  25.       else
  26.       {
  27.          bet += "1";
  28.       }
  29.       if(credit < bet)
  30.       {
  31.          bet = credit;
  32.       }
  33.       set("afis:bet",bet);
  34.    }
  35. }
  36.